package cn.edu.xjtu.tencent.Practice;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @author Hydrion-QLz
 * @date 2022-09-10 19:26
 * @description
 */
public class SortString {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        sc.nextLine();
        String[] arr = sc.nextLine().split(" ");
        Arrays.sort(arr);
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i] + " ");
        }
    }
}
